<%--
  Created by IntelliJ IDEA.
  User: glls
  Date: 2022/3/26
  Time: 10:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%--    先把jsp 当成html 来使用--%>

    <h1> 转发</h1>
<form action="/request3" method="post">
    用户名 <input type="text" name="username"> <br>
    密码  <input type="password" name="password">
    <input type="submit" value="登录">
</form>

<hr>
<h1>重定向</h1>
<form action="/response2" method="post">
    用户名 <input type="text" name="username"> <br>
    密码  <input type="password" name="password">
    <input type="submit" value="登录">
</form>

</body>
</html>
